package qlsl.androiddesign.view.subview.activityview;

import com.qlsl.androiddesign.kuaiwa.R;

import android.view.View;
import android.widget.TextView;
import qlsl.androiddesign.activity.subactivity.CommentActivity;
import qlsl.androiddesign.activity.subactivity.CopyActivity;
import qlsl.androiddesign.view.baseview.FunctionView;
import qlsl.androiddesign.view.commonview.SingleEditText;

/**
 * 我要点评页<br/>
 * 需要传入的键：<br/>
 * 传入的值类型： <br/>
 * 传入的值含义：<br/>
 * 是否必传 ：
 */
public class CommentView extends FunctionView<CommentActivity> {

	private SingleEditText et_content;

	private TextView tv_sum;

	public CommentView(CommentActivity activity) {
		super(activity);
		setContentView(R.layout.activity_comment);
	}

	public void onPause() {
		et_content.onPause();
	}

	protected void initView(View view) {
		setTitle("我要点评");
		et_content = (SingleEditText) view.findViewById(R.id.et_content);
		tv_sum = (TextView) view.findViewById(R.id.tv_sum);
	}

	protected void initData() {

		et_content.setSleepSpan(80);

		et_content.startDrawThread("84758945", tv_sum, 11);
	}

	protected void initListener() {

	}

	public <T> void showData(T... t) {

	}

	public <T> void showNoData(T... t) {

	}

	public void onClick(View view) {

	}

}
